

<template>
  <div class="table-title">
    <div class="table-title-left">
      设备核查列表
    </div>
    <div>
      <template v-if="activeName === 'pending'">
        <el-button v-permission="`${$route.path.replace('/', '')}:batchCheck`" @click="openBatchCheck()">批量处理</el-button>
        <el-button v-permission="`${$route.path.replace('/', '')}:checkConfig`" type="primary" @click="deviceCheckConfig()">{{ checkBtnName }}</el-button>
        <el-button v-permission="`${$route.path.replace('/', '')}:add`" plain class="btnAdd" icon="el-icon-plus" @click="handleAdd('新增')">新增</el-button>
      </template>
      <exportExcel v-permission="`${$route.path.replace('/', '')}:export`" :url="'/equipment/check/info/export'" :params="exportExcelParams" file-name="设备核查" />
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  mixins: [],
  props: {},
  data() {
    return {
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {}
}
</script>

<style lang="scss" scoped>
</style>
